package com.haochang.chunkvod.app.config;

import java.io.File;

import android.os.Environment;

/**
 * 
 * @author lxl
 *		2015-1-27-上午10:55:01
 *		
 *		本地文件存储路径管理
 *		Sdcard相关检测封装	
 *		/.McTT
 */
public class SDCardConfig
{

	/**
	 * 根File 不带斜线 使用前自己带斜线
	 */
	public static final File ROOT = Environment.getExternalStorageDirectory();

	/**
	 * 应用目录
	 */
	public static final String APPLICATION_SYSTEM_PATH = ROOT + File.separator + ".VOD" + File.separator;

	/**
	 * 相册.用户保存图片目录
	 * @return
	 */
	public static final String PHOTO = APPLICATION_SYSTEM_PATH + "photo" + File.separator;

	/**
	 * 更多-分享默认头像
	 */
	public static final String APPLICATION_SYSTEM_MORE_LAUNCHER = APPLICATION_SYSTEM_PATH + "launcher_" + ".jpg";

	/**
	 *  自定义缓存路径
	 */
	public static final String ROOT_IMAGE = APPLICATION_SYSTEM_PATH + "image" + File.separator;

	/**
	 * 系统日志
	 * 异常崩溃日志目录
	 */
	public static final String APPLICATION_SYSTEM_LOG = APPLICATION_SYSTEM_PATH + "log" + File.separator;

	/**
	 * apk下载专用目录, 每次应用开启会尝试清除本目录
	 */
	public static final String APK_DOWNLOAD_DIR = APPLICATION_SYSTEM_PATH + "down" + File.separator;

}
